/*
 * @Author: long
 * @Date: 2021-09-28 14:31:34
 * @LastEditTime: 2021-10-11 11:10:18
 * @LastEditors: Please set LastEditors
 * @Description: 侧边栏菜单标题切换
 * @FilePath: \ant-design-vue-jeecge:\hjimi\人脸辨识云\html\gitlab\pc\facecloudwebsite\src\store\modules\slideBarTit.js
 */

import Cookies from 'js-cookie'

const state = {
    slideBarTit: '' || Cookies.get('slideBarTit')
}

const mutations = {
  SET_SLIDEBARTIT: (state, str) => {
   state.slideBarTit = str
   Cookies.set('slideBarTit', str)
  }
}

export default {
  namespaced: true,
  state,
  mutations
}